import './App.scss';
import './assets/font/iconfont.css'

import RouterView from './router/RouterView'
import routes from './router/RouterConfig'

import React, { Component } from 'react';
class App extends Component {
  render() {
    return (
      <div id='app'>
        {/* 动态渲染所有的一级路由规则 */}
        <RouterView routes={routes}></RouterView>
      </div>
    );
  }
}

export default App;